package com.itheima.config.globalExceptionHandle;

import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
//将这个类 加载到ioc 容器 生成bean
@Component
@NoArgsConstructor
public class PasswordException extends Exception {

    public PasswordException(String message) {
        super(message);
    }
}
